﻿<?php
	session_start();
?>


<!DOCTYPE html>
<html>
	<head>
	<title>CMS</title>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<?
			include_once("include/checkLogin.php");
			include_once("include/includeHeader.php");
		?>
		
		<script type="text/javascript">
			$(document).ready(function(){
				loadUserType();
			});
		</script>
		
	</head>
	
	<body>

			<?php
				include_once("include/top_navigation.php");
			?>
			<div Class="Middle">
				<div class="LeftMenu">
					<?php include_once("include/left_menu.php"); ?>
				</div>
				<div id="RightContent" >
					<h2>New Company</h2>
					<form name="newCompany" method="POST">
						<table>
							<tr>
								<td>Phone Number : </td>
								<td><input type="text" name="phone_no" id="phone_no" value=""></td>
							</tr>
							<tr>
								<td>Email : </td>
								<td><input type="text" name="email" id="email" value=""></td>
							</tr>
							
							<tr>
								<td>Location : </td>
								<td><input type="textarea" name="location" id="location" value=""></td>
							</tr>
							<tr>
								<td>Category : </td>
								<td>
									<select name="category" id="category" value="" >
									<option value="1">gen from DB1</option>
									<option value="2">gen from DB2</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>Logo : </td>
								<td><input type="file" name="logo" id="logo" value=""></td>
							</tr>
							<tr>
								<td colspan="2"><input type="button" name="click_button" value="Submit" onclick="javascript: checkRegForm(document.newCompany);" /></td>
							</tr>
						</table>
					</form>
				</div>
			</div>
			<?php
				include_once("include/footer.php");
			?>
		
	</body>
</html>
